package com.lavender.extention.extention_interface;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * <p>
 * InitializingBean
 * 一：作用
 * 初始化Bean
 * 初始化bean的时候都会执行该方法。这个扩展点的触发时机在postProcessAfterInitialization之前。
 * </p>
 * @author: zhu.chen
 * @date: 2020/12/22
 * @version: v1.0.0
 */
@Component
public class InitializingBeanTest implements InitializingBean {

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("InitializingBean");
    }

}
